package com.v9.oa.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.v9.common.core.domain.AbstractLongEntity;
import com.v9.oa.domain.model.HolidayTypeEnum;
import lombok.Data;
import org.springframework.data.relational.core.mapping.Table;

import java.util.Date;

@Data
@Table("oa_holiday")
public class Holiday extends AbstractLongEntity {
    @TableField(common = "请假人")
    private String pin;
    @TableField(common = "请假类型")
    private HolidayTypeEnum holidayType;
    @TableField(common = "请假原因")
    private String reason;
    @TableField(common = "开始时间")
    private Date startTime;
    @TableField(common = "结束时间")
    private Date endTime;
}